﻿namespace DeviceCommons.DeviceMessages.Enums
{
    [Flags]
    public enum MarkEnum : byte
    {
        TimeStampMS = 0 << 0,
        TimeStampS = 1 << 0,

        ValueStandard = 0 << 1,
        ValueExtend = 1 << 1,

        Reserve2Close = 0 << 2,
        Reserve2Open = 1 << 2,

        Reserve3Close = 0 << 3,
        Reserve3Open = 1 << 3,

        CRCMask = 0b1111_0000,
        CRCNone = 0 << 4,
        CRC8 = 1 << 4,
        CRC16 = 2 << 4,
        CRC32 = 3 << 4,
        CRC64 = 4 << 4,
    }
}
